'use strict';

function get_intersection(collection_a, collection_b) {
  //在这里写入代码
  var c=[]
  var z=0
  for(var i = 0 ; i<collection_a.length;i++){
    for(var j = 0 ; j<collection_b.length;j++){
      if(collection_a[i]==collection_b[j]){
        c[z++]=collection_a[i];
      }
    }
  }
  return c;
}

module.exports = get_intersection;
